<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>联系我们</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" media="all">
</head>
<?php
header("content-type:text/html;charset=utf-8");
include "./Mysql/MySqlClass.php";
$mySQL               = new Ycf\Lession\MySqlClass\MySqlClass('jinling_company', 'root', '123456');
$companyIntroduction = $mySQL->select("company_introduction");
$admin               = $mySQL->select("admin", $where = array('id' => $companyIntroduction['adminId']));
?>
<body>
<div id="append"></div>
<div class="container">
	<h3>公司简介</h3>
    <div class="mainbox">
        <form action="mysqlOption/companyIntroductionUpdate.php" method="post">
            <table style="width:700px;">
                <tbody>
                	<tr>
                    	<td><textarea rows="10" cols="80" name="content"><?php echo $companyIntroduction['companyIntroductionContent']; ?></textarea></td>
                    </tr>
                    <tr>
                    	<td>上次编辑者：<?php
echo $admin['adminName']; ?> &nbsp;&nbsp;&nbsp;上次编辑时间：<?php
echo $companyIntroduction['companyIntroductionDate']; ?></td>
                    </tr>
                    <tr>
                        <td><input value="更新" class="btn" type="submit"></td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>
</body>
</html>
